package com.open.fei.service.impl;

import com.open.fei.entities.CommonResult;
import com.open.fei.service.OpenFeignService;
import org.springframework.stereotype.Component;

/**
 * 异常
 * @author zhaoYuFei
 */
@Component
public class OpenFeignFallBackImpl implements OpenFeignService {

    //对异常情况的处理
    @Override
    public CommonResult<String> test() {
        return new CommonResult<String>("异常！！！！！！");
    }
}
